package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.RepeatWwGroupMerber;
import com.xjscrm.console.param.group.RepeatWwGroupMerberQuery;
import com.xjscrm.console.vo.RepeatWwGroupMerberVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RepeatWwGroupMerberMapper {
     int addRepeatWwGroupMerber(RepeatWwGroupMerber repeatWwGroupMerber);

     Integer getTotalByFalg(@Param("falg") Long falg, @Param("merId") Long merId);

    List<RepeatWwGroupMerberVo> getRepeatWwGroupMerber(RepeatWwGroupMerberQuery repeatWwGroupMerberQuery);

    int deleById(@Param("id") Long id, @Param("merId") Long merId);

    void update(RepeatWwGroupMerber repeatWwGroupMerber);

    RepeatWwGroupMerber getById(@Param("id") Long id, @Param("merId") Long merId);
}
